/*
Header and Footer Styles for S-Team Haus
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  line-height: 1.6;
}

/* === HEADER STYLES === */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  border-bottom: 2px solid #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navegador {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  width: 85px;
  height: 60px;
  max-width: 100%;
  border-radius: 8px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.links a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #9fd0fe;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.links a:hover::after {
  width: 100%;
}

.links a:hover {
  color: #9fd0fe;
}

.icons {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  min-width: 150px;
}

.icons a {
  color: #333;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
}

.icons a:hover {
  color: #9fd0fe;
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.icons svg {
  width: 28px;
  height: 28px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: #f8f9fa;
}

/* === FOOTER STYLES === */

.footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-family: "Montserrat", sans-serif;
  margin-top: auto;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
  padding: 3rem 2rem;
}

.footer-section h3 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #9fd0fe;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.footer-logo h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: #6c757d;
  font-style: italic;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  text-decoration: none;
  color: #495057;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-section ul li a:hover {
  color: #9fd0fe;
  transform: translateX(5px);
}

.footer-section ul li a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #9fd0fe;
}

.footer-section ul li a:hover::before {
  opacity: 1;
}

.footer-bottom {
  background-color: #2c3e50;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-social h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.social-buttons {
  display: flex;
  gap: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn svg {
  width: 22px;
  height: 22px;
  z-index: 2;
  position: relative;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-btn.twitter {
  background-color: #1da1f2;
  color: white;
}

.social-btn.github {
  background-color: #333;
  color: white;
}

.social-btn.youtube {
  background-color: #ff0000;
  color: white;
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-logo-bottom img {
  width: 100px;
  height: auto;
  border-radius: 8px;
}

.footer-copyright p {
  color: #adb5bd;
  font-size: 0.9rem;
  margin: 0;
}

/* === RESPONSIVE DESIGN === */

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .footer-section:first-child {
    grid-column: span 3;
    text-align: center;
  }

  .links {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .footer-section:first-child {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  nav {
    flex-direction: row;
    align-items: flex-start;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .links {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .icons {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .footer-section:first-child {
    grid-column: span 1;
  }

  .social-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 60px;
    height: 42px;
  }

  .logo span {
    font-size: 1.2rem;
  }

  .links a {
    font-size: 1rem;
  }

  .icons svg {
    width: 24px;
    height: 24px;
  }

  .footer-content {
    padding: 1.5rem 1rem;
  }

  .footer-bottom {
    padding: 1.5rem 1rem;
  }
}
